import React from "react"
import { Button } from "antd"
import { useNavigate } from "react-router-dom"
// import C from "../C"
const A = () => {
  const navigate = useNavigate()
  return (
    <div>
      A<Button onClick={() => navigate("/b")}>B</Button>
      <img src={require("@assets/images/1.png")} alt="logo" />
      {/* <C /> */}
    </div>
  )
}

export default A
